//
//  DMNetworkMonitor.h
//  DualMediationSDK
//
//  Created by YeJary on 2025/9/4.
//

#import <Foundation/Foundation.h>
#import "DualMediationSDKPublic.h"

NS_ASSUME_NONNULL_BEGIN

@interface DMNetworkMonitor : NSObject

+ (instancetype)sharedManager;

/// 网络状态回调（外部可设置）
@property (nonatomic, copy) void(^networkStatusChanged)(DMNetworkStatus status);

/// 当前网络状态
@property (nonatomic, assign, readonly) DMNetworkStatus currentStatus;

/// 开始监听网络状态
- (void)startMonitoring;

/// 停止监听网络状态
- (void)stopMonitoring;

@end

NS_ASSUME_NONNULL_END
